-
Notifications
You must be signed in to change notification settings - Fork 508
ORC-1950: [C++] Make sure dictionary is sorted before flushed into ORC file to follow ORC specs #2337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
wgtmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix! I've left some comments.
wgtmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM. Thanks!
| 'orc', | ||
| sources: source_files, | ||
| cpp_args: [ | ||
| '-DBUILD_SPARSEHASH' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WillAyd Could you help review this? If we depend on the sparsehash library in the meson build, what should we do on the Apache Arrow side?
ffacs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@taiyang-li Thank you for the fix, could you please add a test to make sure dictionary is ordered?
Of course. |
done |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you, @taiyang-li and all.
cc @williamhyun
williamhyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 LGTM, will merge this now.
…C file to follow ORC specs ### What changes were proposed in this pull request? Make sure dictionary is sorted before flushed into ORC file to follow ORC specs. The [issue](#2321 (comment)) was brought by #2336. ### Why are the changes needed? ### How was this patch tested? ### Was this patch authored or co-authored using generative AI tooling? Closes #2337 from taiyang-li/make_dict_sorted. Authored-by: taiyang-li <654010905@qq.com> Signed-off-by: William Hyun <william@apache.org> (cherry picked from commit a4ff1c8) Signed-off-by: William Hyun <william@apache.org>
|
Thank you, @williamhyun . |
What changes were proposed in this pull request?
Make sure dictionary is sorted before flushed into ORC file to follow ORC specs. The issue was brought by #2336.
Why are the changes needed?
How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?